package com.winsdom.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.winsdom.dto.SysOperationLogSearchDTO;
import com.winsdom.entity.SysOperationLog;
import com.winsdom.mapper.SysOperationLogMapper;
import com.winsdom.service.ISysOperationLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 操作日志表 服务实现类
 * </p>
 *
 * @author 
 * @since 2025-05-12
 */
@Service
public class SysOperationLogServiceImpl extends ServiceImpl<SysOperationLogMapper, SysOperationLog> implements ISysOperationLogService {
        @Autowired
        private SysOperationLogMapper sysOperationLogMapper;

        /**
         * 条件查询操作日志列表
         *
         * @param sysOperationLogSearchDTO 查询条件
         * @return 操作日志列表
         */
        @Override
        public Page<SysOperationLog> search(Integer pageNum, Integer pageSize, SysOperationLogSearchDTO sysOperationLogSearchDTO) {
                return sysOperationLogMapper.search(new Page<>(pageNum,pageSize),sysOperationLogSearchDTO);
        }



}
